GtkRange: fix horizontal scrolling
authorLars Uebernickel <lars.uebernickel@canonical.com>
Wed, 15 Apr 2015 13:27:04 +0000 (15:27 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 17 Apr 2015 15:00:25 +0000 (11:00 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=737175

gtk/gtkrange.c

index 3f0081896cd5cf7aba9334c4073388f209b805b3..3ed84343c09061819f28bd6323eff293b5cd3072 100644 (file)
@@ -2845,7 +2845,7 @@ _gtk_range_get_wheel_delta (GtkRange       *range,
   else if (gdk_event_get_scroll_direction ((GdkEvent *) event, &direction))
     {
       if (direction == GDK_SCROLL_UP ||
-          direction == GDK_SCROLL_RIGHT)
+          direction == GDK_SCROLL_LEFT)
         delta = - scroll_unit;
       else
         delta = scroll_unit;